package com.itheima;

public class 面试题 {
    public static void main(String[] args) {

        Zi zi = new Zi();//ADBCEF
        Zi zi2 = new Zi();//BCEF
    }

}


class Fu{
   static  {
       System.out.println("A");
    }
    {
        System.out.println("B");
    }
    public Fu(){
        System.out.println("C");
    }
}

class Zi extends Fu{
    static  {
        System.out.println("D");
    }

    {
        System.out.println("E");
    }
    public Zi(){
        System.out.println("F");
    }
}